/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.uc.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author yzh
 * @date 2021-4-26
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveTeamRequest {

	/**
	 * 团队Id
	 */
	private Long teamId;
	/**
	 * 团队名称
	 */
	@NotBlank @Length(max=60)
	private String teamName;
	/**
	 * 团队简称
	 */
	@Length(max=30)
	private String teamAbbr;
	/**
	 * 成员上限，0表示无上限
	 */
	private Integer capacitySize;

}
